package qnb.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import qnb._common.ConditionTool;

@Controller
@RequestMapping("/_condition")
public class _conditionController {

	@RequestMapping("/forward/list")	//	/_condition/forward/list
	public String forwardTAdd(String key,String fatherFunctionName,HttpServletRequest req) {
		if(null==key||key.isEmpty()||null==fatherFunctionName) {
			return null;
		}
		req.setAttribute("fatherFunctionName", fatherFunctionName);
		req.setAttribute("conditionData", ConditionTool.get(key));
		return "_condition/list";
	}
	
	
	
	
}
